import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import CLIENT from "./utils/index";
import Loading from "./components/loading/index";
import Storage from "./storage/index";

Vue.use(Loading);

import Vant from 'vant';
import 'vant/lib/index.css';
import { Toast } from 'vant';
Vue.prototype.$toast = Toast;

Vue.use(Toast);
Vue.use(Vant);
Vue.use(Storage);

// import LoadingVue from './components/loading/serve';

import axios from 'axios';
Vue.prototype.$axios=axios

Vue.config.productionTip = false
// 配置封装好的axios
Vue.use(CLIENT)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
